#ifndef TREEITEM_H
#define TREEITEM_H

#include <QObject>
#include <QTreeWidgetItem>
#include "../element/element.h"

class TreeItem : public QObject, public QTreeWidgetItem
{
    Q_OBJECT
public:
    explicit TreeItem(QObject *parent = nullptr);

    void setEle(Element *);
    void Draw(QOpenGLShaderProgram &shader);
    Element *ele;
signals:
private:
};

#endif // TREEITEM_H
